package com.backstage.base.models;

import lombok.Data;

import java.sql.Date;
@Data
public class User {
    private Integer id;

    private Integer age;

    private boolean sex;

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    private String telephone;

    private float balance;

    private String username;
    private String pwd;
    private Date regTime;
    private String roleID;
    private String phone;
    private String address;
    private String userRoleName;

    @Override
    public String toString() {
        return "User{" +
                "用户id=" + id +
                ", userName='" + username + '\'' +
                ", passWord='" + pwd + '\'' +
                ", sex='" + sex + '\'' +
                ", regTime='" + regTime + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
